added comment explaining design