working on writing chain object