input has same name as output