change length of trial based on variable
Merge branch 'trial' into testing