added step 5 of input.module