add function | no tests yet