created functions within our database class