first half of class