Gh369 clone repository

#369 
remove dead code