changed minSdkVersion to 9