making it work for API level 10