added comments on ghost class, misses a function to set crash to false