Add entries and functions