added self. to fix but