getState includes page number