master add main function