using self as scope of methods