completed remove functionality