add option to control whether to only return mutations