specs added for index methos