add post top functinal