Changed addFoo functions