main: log hex of id