added reset function
wallet creation