filled out constPool function