added andriod code