have the comparing working but now it deletes the answer array