validation added in initialize