added step 8 of input.module