New Database function for resulting