added step 7 of input.module