some edit tab implementation
edit/delete corresponds to the homework