add option to remove federation