Modified to use poolboy