correcting the syntax according to the guide