i'm just trying to understand what's the bug here