Code for SIMS WINDOWS AND ANDROID