Add the functions