adjusted directive for easier customization