simplified parse method