temp
One liners for classes and methods.
added comment and removed debug statement. Also made full function definition as heading of item
changed from if to instantiate