initial attempts at using diagonal hash