reduce casts