Debugged Crafting functions further