Add three useful function.