very sloppy version of creating secrets working