added new equation to three var equations woot