updated ans key to use new modes