broke it trying to implement supply curves