Formation of the fairy tale matrix of a dragon slayer