treating inputs separately