Finished master and most of slave