removed unnsed part of code