properly initialize variable