added self to methods