implemented validators and default value options