added self to function -