Made initialisation synchronous