make code more concise