adding deviceReady