added check for petrification