changed show to limit and offset