adding remove collection function