got rid of list indices hack