Works except for rebuilding deck at start