shouldn't have removed the var declaration