begin 1.5
ugly solution for 1.5