trimming the fat.

delete as much useless stuff as possible.
simplify where possible.