add formatter and paginator