Use right combination of casts