#29 commonize function output