Allen Grey End of year function