modified template for the client1 directive