Cleaner. Added _addBlock function