Added add function