added working license check