Concisify code