get instances at once to reduce api access