added singleton sample