renamed answer to reply and added -r to array