add statements to mark progress, remove check_presence states