constructors can be attached to classes with @constructor