Use dict travesal function