1st rough sketch. compiles with eclipse
state info
calculate baseline score without optimisation