implemented specification
corrected constructor and superclass type