added reset declaration