remove irrelevent content and added footer