some work on p8. but the euler people changed the problem, so it needs work