it seems fine but marks syntax error