making reset class instead of reset.