upgrading utilities class for easier Android development