build with index and contact