add source type to reference