Added check for bridge pattern