Pulling up retrieve function.