removed tests and synchronous code