changed from dll to static library