fixed output paramenter declaration