added select listener to oiblocks