Why removing the cast here ?