gremove unused code