swapped lines & removed explicit param type