removes redundant declaration