edited example flow