adding reset built in func