working on porting to android