added sqlitefunctions