Changed cast macro to tcast, finished V2,V3,V4