Added getOpposites method