main goal of these changes was to add ghosts to the model