self. is not defined in this context, use