clueanup

If you are going to do if/else on a lot of placed to make a switch between two functions, then you pull that into a function.