changed to static lib