test main updated