Completed the retrieve method.