re-worked the decay function