changing parse method