adding overwrite capability