add defer samples