updated constructors: removed className