I suspect this function doesn't really belong here, especially with the `modifiers` option