add ToID method