Setup master