fixed entries function