started ex 5_2 get float