destructuring and guard example added