Casts data