Added page evaluation, little refactor.