Added declare for output var