Each function used with-database