Distance will be calculated after input.