implements basic setup for dynamic validations