minimize directive
basic demo