can we remove this dead code?