simplified and made blocks invulnerable