new version of line follower of parser