begening stages of chaining mode added. additional methods.