tidy up var initialisation a bit for readability