added clear method, but the adding the spaces isnt working?