added singleton example from the DSL seminar