Return id in add method