class order sort of working