reduce distance to branch master (=pure liam2)
move retraite function in a better place
add worstate table

Could be less specific