refactor stock-movie