Work in progress: handles validation result in client