Remove unused variable 'behind'
Refactor parsing methods to return a boolean