Should now properly add nlogsample