add accept function
first try implementing reset function
update license