building chain object