added appstore functions