reset fn
added reset btn