Split index fetching function to enable grabbing just one index