implemented ucs