changed block to allow