Compatibility with non-android