proper parsing of the code