anchor.diff:      end.
      %floppy_coord_sup:start_fsm([self(), read, Key, something]).
   
  -append(Key, Op) ->
  -    DocIdx = riak_core_util:chash_key({?BUCKET, term_to_binary(Key)}),
  -    PrefList = riak_core_apl:get_primary_apl(DocIdx, 1, logging),
  -    [{IndexNode, _Type}] = PrefList,
  -    logging_vnode:append(IndexNode, Key, Op).
   
  -read(Key) ->
  -    DocIdx = riak_core_util:chash_key({?BUCKET, term_to_binary(Key)}),
  -    PrefList = riak_core_apl:get_primary_apl(DocIdx, 1, logging),
  -    [{IndexNode, _Type}] = PrefList,
  -    logging_vnode:read(IndexNode, Key).
  -
  -get(Key, Type) ->
  -    {ok, Ops} = read(Key),
  -    Init=materializer:create_snapshot(Type),
  -    Snapshot=materializer:update_snapshot(Type, Init, Ops),
  -    Value=Type:value(Snapshot),
  -    {ok, Value}.
  -
  -update(Key, Op)->
  -    append(Key, Op).
  
positive.code: %dcreate(Key, Type) ->
  %   floppy_coord_sup:start_fsm([100, self(), create, Key, Type]).
  
  dupdate(Key, Op) ->
      io:format("Update ~w ~w ~n", [Key, Op]),
      floppy_coord_sup:start_fsm([self(), update, Key, Op]),    
      receive 
  
negative.code: -export([
           ping/0,
  	 %create/2,
  	 update/2,
  	 read/2,
  	 types/0
          ]).
  
  