dict tested and works