First attempt at directive