minor simplification of code