add deletion and reset function, seperate storage