Tiny bit of clean up - moved the $tail slash to the return