working on issues for h.w4. removed grammar errors for return, not chekcing null