remove trailing whitespace
write part of the other review