Added IAP functionality