placed install steps in class definition