Declare output var properly