blocks and selectors working