added scala sync dependency