the three layers of plot