adding some stuff to raft