add type specification in the constructors