Changed interface to function not yet being used.