add licence and test ghost
add licence and test ghost