Working on license check