more logic for more automated pricing