- fixing the 0 page problem and allows more flexibility in the template usage