fixed interface to class declaration