delete unused piece of code