Smarter ghosts