You don't need to cast the object here