breaking down paths controller