simplifying reset