a separate sample file for start, stop, attach and detach