implement pool and add notes.