Updated quote field return data. Removed duplicate function