Trying to get a good solution