changges to trim