cast as hash