Testing how to make database functions less specific