control is almost fully done