adding self to class fxn