Changed references from getDeck accordingly