rename function with camels
solves problem 2