changed a line in parse method