refactored blocks to consist of Image objects