Add base for all functions