Made it so it works with netbeans