separated library from executable