Break huge function into small ones