initialize vars with nulls for windows