No need for that bunch of casts