added header and logo functions