trailing whitspace removed