pacman works