implemented set and reset statements