Fix error in var names
Use CBV and pager