template call from client