fixed outputs assignment