add function works, roughly