added both versions of poolpuzzle