First version of directive