added comments for class constructors