static library and task scheduler