using dict not ets