isReady modified and tested, works as desired