working w data in index