[interim] working on passing validation to front end