Clean calc and controller