added main functionality to frmShopping