generates keys now