removed template, added directive