now limits maximum amount of messages returned