removed unused code from header