make sure to initialize variables