added to readme and fixed minor bugs in the pool