Eliminates trailing whitespace so passes test