Code with block list working