transfer to static library