change interface and install will_paginate