A bit strange having output parameters at the start and the end.