got the whole question working