added step 6 of input.module