fixed netDeve().run() to accept a function or kargs or both