Parse Function working correctly