Smolke:Library transformation