change to parse method to match with dump