removing commented code and alert when device ready