Thanks, it should have been a unless [...].nil?

Can you fix the indentation?