Your logic return self as the opposite if opposite...
# getting-started
e
Your logic return self as the opposite if opposite is null, which is incorrect