added validation checker back to activity