index input adjusted