nit: spaces after casts.