adding in some logic to convert ids into clickable values (not finished yet)