key generated in one other place