added end of day component, money. Still need to add checks for day specific rules and clean up code.