one possible way of reseting a component