What is the id used for? Should this be simpler as well?