latent and manifest functions examples