implementing block in the web interface