changed footer code