Use hard coded indexing of ip array