Ab get license refactor