Changed Logic on Allocation Module