adding empty pages and score def feature