implemented block type picking