added remove entry functionality