added singleton

added singleton