added second input pool