new genesis

and update to scratchpad calculation