set properties and functions for first two subclasses.

I am finally getting it