add ghost's type