modified use case 6(addReply) to handle whitespace