add missing add in function params