checks index