to validate and share