added parser hooks