export & validator