my code is compiling view 1