parse classes