added more reset stuff