resources and validation