trying with deviceReady