improved subs - now no duplicates, working delSub