working in some examples