add static titles
add dynamic titles into layout