changes in template; added validation