added first work for auto checking licence