Added more. Still need to put in pseudocode for master/slave