customParse method