added category1 and category2 and fixed bug with price validation