Fixed the sync approach to return prices to the user