ignore warnings for use of when in countdown logic