removed self/this variables and binded this to specific functions