modify for netbeans ide