created set_rounds method