solution for singleton
.