Removed output buffering from block method