first stage of footer directive