New steps for storing random data in ctx + for sleeping.