using when in a different form.