Make getrandombyprice to return name, price pair.