cleaning code and adding vendor prefixes