figuring out id