changed it to run better on android (yayyy!)