simpler and better readable assignment