Stock Check Functionality

Completed the stock check functionality