formating the licence