separating footer into head and body