removing deprecated  argument