changed position index for reachability