add support of footer, add more demos