refactor code
released interface: import stock in