Added correct attribution for SQL functions