Commented retrieve function