core of lib