save trial counts, simplified calculations, option to not print results
correct function call