trailing white spaces removed