defined classes - phase 1