remove log and put response in callback