parameterize over spim header lines