use corelib