revised index to include layout call