cleaner definition
simplify plot