reply made into a case statement