added mismatch penalty in chose card at index method