prepare details