controllers.py trimming.