remove unused  code