How to build metacognition and lucid dream