add domains method to chain class