Fixed the deck procedures for now. Will refactor at a later date if need be.