implement show method