allowing fields accessible as hash