implement trial stuff