edited the type for private key path variable