refactored the creation and deletion to use a boundry instead