adding option to sync to internal device clock