commented out second option for .ready()