made title header function