- added validation