Added missing var declaration