set corresponding output