updated view file for gl