list and remove functions