added console log and {} to render call and return on callback