tried to handle all empty-deck index out of bound errors...my bad.