initial code for the trial screen