move out validate data