created a clean white space function