remove useless functions
change type of key and value to void, making a universal Map