test from netbeans 2