working on transposition code.