adds getLicense() method