code for android, still debuging