basic dictionary offsetting loop done.