about to rework pricing function