changed code example to be more fluent