deleting sprinf function on same methode