made example better