modified to suit android app