preliminary solution to opt