refactoring
made block size output obligatory