now returns the id