Add options to retrieve, make it a function