Add functions and dictionary