refactored to use same view for add new item and display