#21 added validation front end  / backend