added master slave sync and jitter control