added idbase.c