Workign on dictionary functions