updates
added validator class