delete whitespace
delete whitespace
move function to other file
better style output