removed spaces at the end