leading spaces and new line at the end