removed public definition; changed parser method to private