Added delete functionality
Added write functionality