added sample collector