Modified last with_scope example