improve codes and add top tile and bottom title