pool functionality/event listener now working properly