Change from declarative style to programmed