sample header, and code