replaced case statements with prices package