improved idiomacy

as suggested by @mrreynolds