added save add function

weeeee