modifed for Google Play Edition