Added a new function.