added parser method