better attach-daemon2 example