[TASK] Fund: Optimize code