refinement for control of plug up and down