dictionary view based on todos example