half debugged sampling nw