Added return function.