write trials