new function added. 0.6.1