add constants class, add sg check(need specify sg name)