some dev for issue #62