missing self in classes