updated pseudo-master for testing