Modifications for setup of input.