TODO: extract price before return