Finished first draft of Allocation trigger.