greatly improved prob2 results