apple's sample