Adding all functions.