master-slave communication is now working