corelib done