Added reset stuff