Changed way of initialising Prophet