added check for apollo already in place