this line throws an error in strict mode but not in normal mode:
the error says: "Expression of type 'string array' cannot be invoked"
If object_type(bs.x , bs.y) = "barrel"
the error says: "Expression of type 'string array' cannot be invoked"