complete comment logic