refining code slides