+1 for the imperative version when you have a chance