added basic validationHelper (still missing implementation for embedded)