added in master handling for stock movement