use String.contains to check owningSide