committing for safety's sake
adding failed deck functionality
adding failed deck functionality
further debugging