use integer for license type