Added enable_brick() function