added bedrock handling