alter directive for my use case