Isolated code to init response