why am I getting this error get block() I checked the code 100 times it seemed to be fine please help here's the code