updating examples to avoid extraneous errors