dieStock and command functionality completed