changing the parser for declarations