removed ugly synchronous request