added support for sync interval