Index reader methods implemented
Working code