added validation.coffee