removed ghost code