simplified code in netius