changed minimum api to 9