removed whitespace at EOL
removed unused utility function