Using object literal for reply