class for the ghost