fixing up header with help from Thomas