getting errors, check with tutors
code has errors in it