ported to old android
removed old code