Created custom enter directive