generating key for the project