Main #Master And Slave