implemented xml view
struggling on pagination