Added overwrite function