Added the RETRY Count and fixed the length of keys generated to 6