temp commit using index