added validation of tweets