Now works in android and IntelliJ