slight tweak to trim.org