added required inputs and associated styles