added barebones library support