Reset and Reset_all functionality added. NOT TESTED YET