added self. to var