Adding a remove function for clearing