trim a bit of code