added parser for incoming sentences