Redesign processor work on OOP style.