added brands productattributes and some other nifty functions