class/ordering now done with constants