Added new function.