abstract out placeholder indices