Added analyze example implementation