import module and self-made pagination