a little code motion