Make into a function. Also, create a sample header