Nice XOR trick learned

Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarreddy@gmail.com>