finish TOS