save last_pour_pos and measured_output
add cup detection (untested!)