rtrim is not needed here