adding logging to capture apple's decay forumla