simplify parse method