override instance method as well as class method