a little more idiomatic

Signed-off-by: Stephen Gran <steve@lobefin.net>