nit: please put the content of the if on it's own line