moved header to class