added and completed whitespace_remover