another more succinct implementation to fulfill the requirement