Moved joke into function