removed unsed variable