added method to the database/functionality