uses static lib