completed and tested mytrialfun_all