Added a chain model with validation