 " Ghosts " was one of the five new tracks on the album . It was written , composed and produced by Michael Jackson and Teddy Riley . Instruments played on the track include a guitar and piano . Jackson 's vocal range on the song is G3 @-@ A5 , the song is in the key E minor . The Washington Post noted , " ' Ghosts ' is another new jack swing collaboration with Teddy Riley for a similarly titled short film . It is a bit unsettling , particularly when Jackson spits out this line : ' Who gave you the right to shake my family tree ? ' " . Tom Sinclair of Entertainment Weekly , also highlighted those particular lyrics , speculating that " armchair psychologists will have a field day with the words " . 
