use code to check driving licence