basic header validation working