compare manifest and latent functions