Added the ability to edit, delete, and display a specified number of items.