Add Functionality to Database