-record(state, {progress :: integer(), finished :: boolean()}).