allocate some components in the library