got basic remove function worked