Properly indentify from and to