added footer, it doesn't work right