adding a way to remove leading spaces