Develo

new function and tested.