add public head and bottom