initial implementation for adding event to render a block