chain validation added