cut down on long one-line function definition