finalized all classes