expose parse method