type casting for winders