converted to android studio