created empty instance method called index