my code is compiling view 2