add pkg to resPool