getCurrentPage added