added the class constructor param