get rid of the int reference.