Previous page calcution done more properly.