There's a bug in this code that's causing failures - can you investigate?