Implemented a trim modifier