initialize ghost