Adding Razor code
now using razor listener