added reset bool