wouldn't mind one empty line here, just before casting (looks nicer, not required - just poking since i'm expecting a rebase)