modify chaining functonality; adding funcations to prototype dynamically;