cleaned up weird transposition thing